import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import n4j.call_liantong as nclt
import math
import yinlichili.gravity as gra
import yinlichili.yuchuli as yuc


class Graph:
    def __init__(self, message=[], bdzmess=[]):
        self.message = message
        self.bdzmess = bdzmess
        nodeid = []
        nodelable = []
        for i in self.message.values:
            a = i[0].labels
            print(a, i[0].identity)
            print(i[0])
    def stos(self):
        1


if __name__ == '__main__':
    a = nclt.main(1)
    print('!!!!!!!!!!!!!!!', type(a))
    weiz = nclt.main(0)
    m = Graph(a, weiz)

